from fastapi import APIRouter

router = APIRouter(
    prefix="/bilibili",
    tags=["bilibili"],
    # dependencies=[Depends(get_token_header)],
    responses={404: {"description": "Not found"}},
)


@router.get("/bilibili/download", tags=["bilibili"])
async def read_users():
    return [{"username": "Rick"}, {"username": "Morty"}]


@router.get("/bilibili/me", tags=["bilibili"])
async def read_user_me():
    return {"username": "fakecurrentuser"}


@router.get("/bilibili/{username}", tags=["bilibili"])
async def read_user(username: str):
    return {"username": username}